export const xmatrix = {
    //left top width height
    tl:[1,0,0,0],
    tc:[1,0,0.5,0],
    tr:[1,0,1,0],

    bl:[1,0,0,0],
    bc:[1,0,0.5,0],
    br:[1,0,1,0],

    lt:[1,0,0,0],
    lc:[1,0,0,0],
    lb:[1,0,0,0],

    rt:[1,0,1,0],
    rc:[1,0,1,0],
    rb:[1,0,1,0],

    t:[1,0,0.5,0],
    b:[1,0,0.5,0],
    l:[1,0,0,0],
    r:[1,0,1,0],
} as Record<string,Array<number>>
export const ymatrix = {
    tl:[0,1,0,0],
    tc:[0,1,0,0],
    tr:[0,1,0,0],

    bl:[0,1,0,1],
    bc:[0,1,0,1],
    br:[0,1,0,1],

    lt:[0,1,0,0],
    lc:[0,1,0,0.5],
    lb:[0,1,0,1],

    rt:[0,1,0,0],
    rc:[0,1,0,0.5],
    rb:[0,1,0,1],

    t:[0,1,0,0],
    b:[0,1,0,1],
    l:[0,1,0,0.5],
    r:[0,1,0,0.5],
} as Record<string,Array<number>>